main()
{
	int i;
	int sum;

	/* test assign */
	sum = 0;

	/* test while statement */
	in(i);
	while(i <= 100)
	{
		sum = sum + i;
		i = i + 1;
	}
	out(sum);  /* The result is 5050 */

	/* test if statement */
	if(i == 101)
		out(i);
	else
	{  
		sum = sum + 4;
		out(sum);
	}
}
